import request from '@/utils/request'

// 获取员工概览
export function employeeOverview() {
    return request({
        url: `/v2/home/summarize`,
        method: 'GET'
    })
}

// 获取统计数据
export function statistics(){
    return request({
        url: `/v2/home/data`,
        method:'GET'
    })
}

// 获取最近得访客数据
export function recentVisitor(params){
    return request({
        url: `/v2/home/week`,
        method:'GET',
        params
    })
}